<?php
if (count($result)) :
  global $language;
  $nodes = node_load_multiple($result);
  $img_path = base_path() . drupal_get_path('theme', 'goldengroup') . '/images/';
  ?>
  <div class="block-client">
    <ul class="lst-logo">        
      <?php
      foreach ($nodes as $node) :
        $field_image_link = field_get_items('node', $node, 'field_image_link', $language->language);
        ?>
        <li>
          <a href="<?php print (isset($field_image_link[0]['url']) && !empty($field_image_link[0]['url'])) ? $field_image_link[0]['url'] : 'javascript:void(0)'  ?>" target="_blank">                
            <img alt="" src="<?php print image_style_url('our-client', $field_image_link[0]['uri']); ?>" />
          </a>                
        </li>
      <?php endforeach; ?>
    </ul>
  </div>
  <?php
endif;
?>